package com.jinsi.mapper.yrf;


import com.jinsi.pojo.OperationLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Mapper
public interface OperationLogMapper {

    /**
     * 根据用户id找到名字
     */
    String seluNameById(int userId);

    int addlog(OperationLog log);

    List<OperationLog> getAll(String administratorName, String actionListName, String operationType, Date executionTime);

    void operationLogdelete(int operationLogId);

    void delAll(ArrayList<Integer> ops);
}
